﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Hosting;

namespace Web7.Core.VirtualPath
{
    public class Web7VirtualFile : VirtualFile
    {
        private readonly VirtualFile _actualFile;
        private readonly string _assemblyDirective;

        public Web7VirtualFile(string virtualPath, VirtualFile actualFile, string assemblyDirective)
            : base(virtualPath)
        {
            _actualFile = actualFile;
            _assemblyDirective = assemblyDirective;
        }

        public override string Name
        {
            get
            {
                return _actualFile.Name;
            }
        }

        public override bool IsDirectory
        {
            get
            {
                return _actualFile.IsDirectory;
            }
        }

        public override System.IO.Stream Open()
        {
            throw new NotImplementedException();
        }
    }
}
